package com.kuang.function;

import java.util.Properties;
import java.util.function.Predicate;

public class demo2 {
    public static void main(String[] args) {
        Predicate<String> predicate= new Predicate<String>(){

            @Override
            public boolean test(String s) {
                return s.isEmpty();
            }
        };

        System.out.println(predicate.test("njyujujuj"));
    }
}
